package com.mrjy.common.entity;

import org.apache.solr.client.solrj.beans.Field;


public class SolrEntity {
	
	@Field
	private String id; //solr唯一id
	
	/*
	 * 问答
	 */
	@Field
	private Integer questionId; //问题id
	@Field
	private String questionContent; //提问内容
	@Field
	private String questionDesc; //问题详细描述
	@Field
	private String questionTypes; //问题标签
	@Field
	private Integer commentId; //回答id
	@Field
	private String commentContent; //回答内容
	@Field
	private String recordName; //语音回答 音频名
	@Field
	private String recordDuration; //语音时长
	@Field
	private String replyType;//回答类型 0:用户回答 ;1:老师回答
	
	@Field
	private String picName; //讲师头像
	@Field
	private String headImgUrl; //微信头像
	
	private Integer recordStatus; //语音状态 0--  1--  2-- 3-- 4--
	
	private Integer questionViewNum; //提问浏览数
	private Integer questionCommentNum; //提问回答数
	
	private Integer commentGoodNum; //回答获赞数
	private Integer commentNum; //公开回答获评数 & 付费文字回答偷看数 & 付费语音回答偷听数
	
	private Integer goodFlag; //是否已点赞  0-否 1-是
	
	private Integer learnerNum ; //正在学习人数
	/*
	 * 微课
	 */
	@Field
	private Integer videoId;
	@Field
	private String videoName;
	@Field
	private String videoDesc;
	@Field
	private String videoTypes;
	@Field
	private String videoTeacher;
	
	private PolyInfo polyInfo; //polyv url
	private Double viewProgress; //观看进度
	
	/*
	 * 课程包
	 */
	@Field
	private Integer coursePackageId;
	@Field
	private String coursePackageName;
	@Field
	private String coursePackageDesc;
	@Field
	private String coursePackageTypes;
	@Field
	private String coursePackageTeacher;
	private Double coursePackageScore; //评分
	
	private Integer clickCount; //xxx人学
	@Field
	private String coverUrl; //封面
	/*
	 * 讲师
	 */
	@Field
	private Integer userId;
	@Field
	private Integer teacherId;
	@Field
	private String teacherName;
	@Field
	private String teacherDesc;
	@Field
	private String teacherTypes;
	@Field
	private Integer recordAuthority; //是否有语音回答权限
	private Integer teacherGoodNum; //讲师获赞数
	private Integer teacherViewNum; //视频总观看量

    private Integer freeFlag; //是否免费 0 - 收费 1 -免费

    private Integer isVipStatus; //是否 已经购买 1- 是 0没有

    private Double originalPrice;//原价
    
    private String isSpecial; //是否特价 0-否 1-是、

    private Integer weclassIsFinish; //微课完成  0-否 1-是、

    private String duration; // 时间

    public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getQuestionId() {
		return questionId;
	}
	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}
	public String getQuestionContent() {
		return questionContent;
	}
	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}
	public String getQuestionDesc() {
		return questionDesc;
	}
	public void setQuestionDesc(String questionDesc) {
		this.questionDesc = questionDesc;
	}
	public String getQuestionTypes() {
		return questionTypes;
	}
	public void setQuestionTypes(String questionTypes) {
		this.questionTypes = questionTypes;
	}
	public Integer getCommentId() {
		return commentId;
	}
	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public Integer getVideoId() {
		return videoId;
	}
	public void setVideoId(Integer videoId) {
		this.videoId = videoId;
	}
	public String getVideoName() {
		return videoName;
	}
	public void setVideoName(String videoName) {
		this.videoName = videoName;
	}
	public String getVideoDesc() {
		return videoDesc;
	}
	public void setVideoDesc(String videoDesc) {
		this.videoDesc = videoDesc;
	}
	public String getVideoTypes() {
		return videoTypes;
	}
	public void setVideoTypes(String videoTypes) {
		this.videoTypes = videoTypes;
	}
	public Integer getCoursePackageId() {
		return coursePackageId;
	}
	public void setCoursePackageId(Integer coursePackageId) {
		this.coursePackageId = coursePackageId;
	}
	public String getCoursePackageName() {
		return coursePackageName;
	}
	public void setCoursePackageName(String coursePackageName) {
		this.coursePackageName = coursePackageName;
	}
	public String getCoursePackageDesc() {
		return coursePackageDesc;
	}
	public void setCoursePackageDesc(String coursePackageDesc) {
		this.coursePackageDesc = coursePackageDesc;
	}
	public String getCoursePackageTypes() {
		return coursePackageTypes;
	}
	public void setCoursePackageTypes(String coursePackageTypes) {
		this.coursePackageTypes = coursePackageTypes;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public String getTeacherDesc() {
		return teacherDesc;
	}
	public void setTeacherDesc(String teacherDesc) {
		this.teacherDesc = teacherDesc;
	}
	public String getTeacherTypes() {
		return teacherTypes;
	}
	public void setTeacherTypes(String teacherTypes) {
		this.teacherTypes = teacherTypes;
	}
	public String getRecordName() {
		return recordName;
	}
	public void setRecordName(String recordName) {
		this.recordName = recordName;
	}
	public String getCoursePackageTeacher() {
		return coursePackageTeacher;
	}
	public void setCoursePackageTeacher(String coursePackageTeacher) {
		this.coursePackageTeacher = coursePackageTeacher;
	}
	public String getVideoTeacher() {
		return videoTeacher;
	}
	public void setVideoTeacher(String videoTeacher) {
		this.videoTeacher = videoTeacher;
	}
	public Integer getTeacherGoodNum() {
		return teacherGoodNum;
	}
	public void setTeacherGoodNum(Integer teacherGoodNum) {
		this.teacherGoodNum = teacherGoodNum;
	}
	public Integer getTeacherViewNum() {
		return teacherViewNum;
	}
	public void setTeacherViewNum(Integer teacherViewNum) {
		this.teacherViewNum = teacherViewNum;
	}
	public Integer getQuestionViewNum() {
		return questionViewNum;
	}
	public void setQuestionViewNum(Integer questionViewNum) {
		this.questionViewNum = questionViewNum;
	}
	public Integer getQuestionCommentNum() {
		return questionCommentNum;
	}
	public void setQuestionCommentNum(Integer questionCommentNum) {
		this.questionCommentNum = questionCommentNum;
	}
	public Integer getCommentGoodNum() {
		return commentGoodNum;
	}
	public void setCommentGoodNum(Integer commentGoodNum) {
		this.commentGoodNum = commentGoodNum;
	}
	public Integer getCommentNum() {
		return commentNum;
	}
	public void setCommentNum(Integer commentNum) {
		this.commentNum = commentNum;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Double getCoursePackageScore() {
		return coursePackageScore;
	}
	public void setCoursePackageScore(Double coursePackageScore) {
		this.coursePackageScore = coursePackageScore;
	}
	public String getPicName() {
		return picName;
	}
	public void setPicName(String picName) {
		this.picName = picName;
	}
	public String getHeadImgUrl() {
		return headImgUrl;
	}
	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}
	public Integer getRecordStatus() {
		return recordStatus;
	}
	public void setRecordStatus(Integer recordStatus) {
		this.recordStatus = recordStatus;
	}
	public Integer getGoodFlag() {
		return goodFlag;
	}
	public void setGoodFlag(Integer goodFlag) {
		this.goodFlag = goodFlag;
	}
	public String getRecordDuration() {
		return recordDuration;
	}
	public void setRecordDuration(String recordDuration) {
		this.recordDuration = recordDuration;
	}
	public Double getViewProgress() {
		return viewProgress;
	}
	public void setViewProgress(Double viewProgress) {
		this.viewProgress = viewProgress;
	}
	public String getCoverUrl() {
		return coverUrl;
	}
	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}
	public Integer getClickCount() {
		return clickCount;
	}
	public void setClickCount(Integer clickCount) {
		this.clickCount = clickCount;
	}
	public PolyInfo getPolyInfo() {
		return polyInfo;
	}
	public void setPolyInfo(PolyInfo polyInfo) {
		this.polyInfo = polyInfo;
	}


    public Integer getFreeFlag() {
        return freeFlag;
    }

    public void setFreeFlag(Integer freeFlag) {
        this.freeFlag = freeFlag;
    }

    public Integer getIsVipStatus() {
        return isVipStatus;
    }

    public void setIsVipStatus(Integer isVipStatus) {
        this.isVipStatus = isVipStatus;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }
	public Integer getRecordAuthority() {
		return recordAuthority;
	}
	public void setRecordAuthority(Integer recordAuthority) {
		this.recordAuthority = recordAuthority;
	}
	public String getIsSpecial() {
		return isSpecial;
	}
	public void setIsSpecial(String isSpecial) {
		this.isSpecial = isSpecial;
	}
	public Integer getLearnerNum() {
		return learnerNum;
	}
	public void setLearnerNum(Integer learnerNum) {
		this.learnerNum = learnerNum;
	}
	public String getReplyType() {
		return replyType;
	}
	public void setReplyType(String replyType) {
		this.replyType = replyType;
	}

    public Integer getWeclassIsFinish() {
        return weclassIsFinish;
    }

    public void setWeclassIsFinish(Integer weclassIsFinish) {
        this.weclassIsFinish = weclassIsFinish;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}
